package cn.tedu.micro.demo.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//核心注解@SpringBootApplicaiton包含spring容器的一个扫描注解
//ComponentScan 可以实现@Controller @Service @Repository @Component扫描
//但是无法扫描FeignClient接口注解 从而创建带来 需要额外指定配置注解
@EnableFeignClients
public class Order {
    public static void main(String[] args) {
        SpringApplication.run(Order.class, args);
    }
}
